// @ts-ignore
/* eslint-disable */
import request from "@/request";

/** 初始化管理员（仅在开发环境使用） POST /api/Init/admin */
export async function postInitAdmin(
  body: API.InitAdminRequest,
  options?: { [key: string]: any }
) {
  return request<any>("/api/Init/admin", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}
